package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Question;
import org.bson.types.ObjectId;

import java.util.List;

/**
 * @Description:
 * @Create by: wanglei
 * @Date: 2021/11/7 12:51
 */
public interface QuestionSoulApi {

    void save(Question question);

    //根据soulid,查询
    List<Question> findBySoulId(String soulIdStr);

    //根据questionId查询
    Question findById(ObjectId questionId);
}
